﻿using System;
using System.ComponentModel.DataAnnotations;


namespace UscSunShine.Models
{
    /// <summary>
    /// 办事机构
    /// </summary>
    public class Department
    {
        public Department()
        {
            this.SortID = 0;
        }
        /// <summary>
        /// 机构编号
        /// </summary>
        public int ID { get; set;}


        /// <summary>
        /// 机构名称
        /// </summary>
        [Required]
        [Display(Name = "机构名称")]
        public string Name { get; set; }


        /// <summary>
        /// 排序编号
        /// </summary>        
        [Display(Name = "排序编号")]
        public int SortID { get; set; }
    }
}
